package com.zzq.service.impl;

import com.zzq.domain.dto.SmilePhotoDTO;
import com.zzq.domain.entity.SmilePhoto;
import com.zzq.domain.search.PhotoSearchParamet;
import com.zzq.mapper.SmilePhotoMapper;
import com.zzq.service.SmilePhotoService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author 谢文宗
 * @since 2023-08-22
 */
@Service
public class SmilePhotoServiceImpl extends ServiceImpl<SmilePhotoMapper, SmilePhoto> implements SmilePhotoService {

    @Autowired
    SmilePhotoMapper smilePhotoMapper;

    @Override
    public List<SmilePhotoDTO> getDownloadDTO(PhotoSearchParamet photoSearchParamet) {
        return smilePhotoMapper.getDownloadDTO(photoSearchParamet);
    }
}
